

var jwt = require('jsonwebtoken');

var obj = {
    id: 4,
    name: '小龙',
    password: 'd7c0bb84d9ab7b0683cac8d15a364d86',
    payimg: null,
    status: 0,
    avatar: null,
    lv: 0
}

var token = jwt.sign(obj, 'shhhhh', { expiresIn: '1h' });
jwt.verify(token, cert, function (err, decoded) {
});


var a = {
    "id": 11,
    "orderSn": "123",
    "price": 1,
    "userid": 1,
    "status": 0,
    "img": "",
    "updateTime": "2024-01-12T03:38:09.000Z",
    "createDate": "2024-01-12T08:07:15.000Z",
    imglist: [
        {
            "type": 0,
            "link": "https://imgcps.jd.com/img-cubic/creative_server_cia_jdcloud/v2/2000366/10052541805511/FocusFullshop/CkJqZnMvdDEvMjM4NTgxLzE5LzkyMS84ODYzODgvNjU4NzM2YmJGNWRmZWVkN2IvMmQwZGNlNTJmZWMwN2Q4Mi5wbmcSCTMtdHlfMF81NDACOO6LekIQCgzmsb7phZLnmb3phZIQAUIQCgzlirLniIbllYblk4EQAkIQCgznq4vljbPmiqLotK0QBkIHCgPmiqIQB1jH57vRyKQC/cr/s/q.jpg"
        },
        {
            "type": 0,
            "link": "https://imgcps.jd.com/img-cubic/creative_server_cia_jdcloud/v2/2000366/10052541805511/FocusFullshop/CkJqZnMvdDEvMjM4NTgxLzE5LzkyMS84ODYzODgvNjU4NzM2YmJGNWRmZWVkN2IvMmQwZGNlNTJmZWMwN2Q4Mi5wbmcSCTMtdHlfMF81NDACOO6LekIQCgzmsb7phZLnmb3phZIQAUIQCgzlirLniIbllYblk4EQAkIQCgznq4vljbPmiqLotK0QBkIHCgPmiqIQB1jH57vRyKQC/cr/s/q.jpg"
        }]
}